package pre.lxm.demo;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import lxm.demo.ultra.UltraDemoMainActivity;
import pre.lxm.demo.chart.RecordChartActivity;
import pre.lxm.demo.chart.horizontal.HorizontalActivity;
import pre.lxm.demo.drawable.DrawableActivity;
import pre.lxm.demo.keyboard.KeyboardActivity;
import pre.lxm.demo.menu.CircleMenuActivity;
import pre.lxm.demo.rollview.RollSquareActivity;

public class MainActivity extends AppCompatActivity {

    @BindView(R.id.button_ultra)
    Button buttonUltra;

    @BindView(R.id.button_drawable)
    Button buttonDrawable;

    @BindView(R.id.button_circle_menu)
    Button buttonCircleMenu;

//    @BindView(R.id.button_record_chart)
//    Button buttonRecordChart;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);
    }

    @OnClick(R.id.button_ultra)
    public void onUltraClick(View view) {
        startActivity(new Intent(MainActivity.this, UltraDemoMainActivity.class));
    }

    @OnClick(R.id.button_drawable)
    public void onDrawableClick(View view) {
        startActivity(new Intent(MainActivity.this, DrawableActivity.class));
    }

    @OnClick(R.id.button_circle_menu)
    public void onCircleMenuClick(View view) {
        startActivity(new Intent(MainActivity.this, CircleMenuActivity.class));
    }

    @OnClick(R.id.button_record_chart)
    public void onRecordClick(View view) {
        startActivity(new Intent(MainActivity.this, RecordChartActivity.class));
    }

    @OnClick(R.id.button_horizontal_chart)
    public void onHorizontalChartClick(View view) {
        startActivity(new Intent(MainActivity.this, HorizontalActivity.class));
    }

    @OnClick(R.id.button_roll_square)
    public void onRollSquareClick() {
        startActivity(new Intent(MainActivity.this, RollSquareActivity.class));
    }

    @OnClick(R.id.button_keyboard)
    public void onKeyboardClick() {
        startActivity(new Intent(MainActivity.this, KeyboardActivity.class));
    }
}
